package com.school.fuyuan.business.service;

import com.school.fuyuan.business.mapper.TestMapper;
import com.school.fuyuan.business.model.po.Student;
import org.springframework.stereotype.Service;

/**
 * @author zrhong
 * @version 1.0
 * @date 2019/3/3 20:19
 * @description
 */
@Service
public class TestService {
    private final TestMapper testMapper;

    public TestService(TestMapper testMapper) {
        this.testMapper = testMapper;
    }

    public Student getTest(String id) {
        Student test = testMapper.getTest(id);
        return test;
    }
}
